﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Sys_CompanyInfoCollection : List<Sys_CompanyInfo>
    { 
         public int IndexOf(Sys_CompanyInfo item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Sys_CompanyInfo item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Sys_CompanyInfo this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Sys_CompanyInfo item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Sys_CompanyInfo item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Sys_CompanyInfo[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Sys_CompanyInfo item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Sys_CompanyInfo> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Sys_CompanyInfo
    {
        private int _IdCom;

        public int IdCom
        {
            get { return _IdCom; }
            set { _IdCom = value; }
        }
        private string _CodeCom;

        public string CodeCom
        {
            get { return _CodeCom; }
            set { _CodeCom = value; }
        }
        private string _ComName;

        public string ComName
        {
            get { return _ComName; }
            set { _ComName = value; }
        }
        private string _Abbreviation;

        public string Abbreviation
        {
            get { return _Abbreviation; }
            set { _Abbreviation = value; }
        }
        private string _Address;

        public string Address
        {
            get { return _Address; }
            set { _Address = value; }
        }
        private string _Webstite;

        public string Webstite
        {
            get { return _Webstite; }
            set { _Webstite = value; }
        }
        private string _Email;

        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }
        private string _Logo;

        public string Logo
        {
            get { return _Logo; }
            set { _Logo = value; }
        }
        private string _Phone;

        public string Phone
        {
            get { return _Phone; }
            set { _Phone = value; }
        }
        private string _Fax;

        public string Fax
        {
            get { return _Fax; }
            set { _Fax = value; }
        }
        private int _TaxCode;

        public int TaxCode
        {
            get { return _TaxCode; }
            set { _TaxCode = value; }
        }
        private int _AccountCode;

        public int AccountCode
        {
            get { return _AccountCode; }
            set { _AccountCode = value; }
        }
        private string _AccountBank;

        public string AccountBank
        {
            get { return _AccountBank; }
            set { _AccountBank = value; }
        }
        private int _District;

        public int District
        {
            get { return _District; }
            set { _District = value; }
        }
        private string _Currency;

        public string Currency
        {
            get { return _Currency; }
            set { _Currency = value; }
        }
        private string _Image;

        public string Image
        {
            get { return _Image; }
            set { _Image = value; }
        }
        private Boolean _Branch;

        public Boolean Branch
        {
            get { return _Branch; }
            set { _Branch = value; }
        }
        private DateTime _CreateDate;

        public DateTime CreateDate
        {
            get { return _CreateDate; }
            set { _CreateDate = value; }
        }
        private DateTime _UpdateDate;

        public DateTime UpdateDate
        {
            get { return _UpdateDate; }
            set { _UpdateDate = value; }
        }
        private int _CreateBy;

        public int CreateBy
        {
            get { return _CreateBy; }
            set { _CreateBy = value; }
        }
        private int _UpdateBy;

        public int UpdateBy
        {
            get { return _UpdateBy; }
            set { _UpdateBy = value; }
        }
        private Boolean _Status;

        public Boolean Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
    }
}
